import { axios } from "@/services/axios";

const Employee = {
  get: data => axios.get(`api/employeechange/${data.id}`),
  getlist: params => axios.post(`api/employeechange/list`, params),
  create: data => axios.post("api/employeechange", data),
  getid: data => axios.get("api/employeechange", data),
  save: data => axios.post(`api/employeechange/${data.id}`, data),
  delete: data => axios.post(`api/employeechange/delete/${data.id}`),
};

export default Employee;